<!DOCTYPE html>
<html class="x-admin-sm">
<head>
<meta charset="UTF-8">
<title></title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="__ADMIN__/css/font.css">
<link rel="stylesheet" href="__ADMIN__/css/xadmin.css">
<script type="text/javascript" src="__ADMIN__/js/jquery.min.js"></script>
<script type="text/javascript" src="__ADMIN__/lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="__ADMIN__/js/xadmin.js"></script>
<script type="text/javascript" src="__ADMIN__/js/cookie.js"></script>
<style>
.layui-form-item .layui-form-label{
    width: 120px;
}
.layui-form-item .layui-textarea{
    width: 190px;
}
</style>
</head>
  
<body>
<div class="x-body">
<form class="layui-form">

<table class="layui-table">
    <colgroup>
    <col width="200">
    <col width="600">
    </colgroup>

    <tbody>
        <tr>
          <td>活动名称</td>
          <td>{$info.activity_name}</td>
        </tr>
        <tr>
          <td>单页</td>
          <td>{$info.single_count}</td>
        </tr>
        <tr>
          <td>专题</td>
          <td>{$info.topic_count}</td>
        </tr>
        <tr>
          <td>制作时间</td>
          <td>{$info.complete_time|date="Y-m-d",###}</td>
        </tr>
        <tr>
          <td>运营人员</td>
          <td>{:idToAdminname($info.admin_id)}</td>
        </tr>
        <tr>
          <td>备注</td>
          <td>{$info.note}</td>
        </tr>
        <!--<tr>-->
        <!--  <td><span style="color:red">*</span> 校对结果</td>-->
        <!--  <td>-->
        <!--      <select name="check_status" lay-verify="required" required style="width:220px">-->
        <!--        <option value="">未校对</option>-->
        <!--        <option value="1" {if condition="$info.check_status == 1 "}selected{/if}>确认</option>-->
        <!--      </select>-->
        <!--    </td>-->
        <!--</tr>-->
        <tr>
          <td><span style="color:red">*</span> 直播间id</td>
          <td><input type="text" id="live_id" value="{$info.live_id}" name="live_id" autocomplete="off" class="layui-input" lay-verify="required" required ></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <button type="button" class="layui-btn" lay-filter="add" lay-submit="">确定</button>
            </td>
        </tr>
        
        
    </tbody>
</table>
         
</form>
</div>
<script>
layui.use(['form','layer','laydate','upload'], function(){
$ = layui.jquery;
var form = layui.form
,layer = layui.layer
,laydate = layui.laydate
,upload = layui.upload;
form.on('submit(add)', function(data){
    $.ajax({
        type:'POST',
        dataType:'json',
        data:{data:data.field},
        success:function(obj){
              layer.alert(obj.msg, {icon: obj.icon},function(){
                // 获得frame索引
                var index = parent.layer.getFrameIndex(window.name);
                //关闭当前frame
                parent.layer.close(index);
                // 可以对父窗口进行刷新 
                x_admin_father_reload();
              });    
        }
    });
    return false;
});


  
});
</script>
</body>

</html>